//join_activity_all_member
exports.join_activity_all_member = function(req,res) {

    //获取restful参数
    var bodyParams = req.routeInfo.bodyParams;

    //最终结果
    var resultData = {};

    //任务流创建
    async.waterfall([
            //查询已报名人
        function(cb){

            R.SEND_HTTP(
                req,
                {
                    url: CORE_APIConfig.coreAPI.searchDiscountsActivityUserSearch + "/count/1/dau_oaid/" + bodyParams.oa_id+"/sort_order/dau_create_time-asc",
                    method: 'GET',
                },
                function (err, data) {
                    //判断是否有错误信息
                    if (err) {
                        return cb(err, data);
                    }

                    resultData.joinAllUserData  = data.data;

                    cb();

                }
            );

        }

        ],function(err, result){

            //返回最终拼接结果
            RES.response(res,true,resultData);

        }
    );

};